.PHONY:all
all:udpclient udpserver

udpclient:udpclient.cc
	g++ -o $@ $^ -std=c++11 -lpthread
udpserver:main.cc
	g++ -o $@ $^ -std=c++17

.PHONY:clean
clean:
	rm -f udpclient udpserver